/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.article;

import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import util.article.ImageDetails;

/**
 *
 * @author Joris
 */
@Local
public interface ImageFacadeLocal {

    void create(Image image);

    void edit(Image image);

    void remove(Image image);

    Image find(Object id);

    List<Image> findAll();

    List<Image> findRange(int[] range);

    int count();

    public Image createImage(ImageDetails id, Article a, Model m);

    public ImageDetails convert(Image i);

    public Collection<ImageDetails> convert(Collection<Image> images);
    
}
